/**
 * Created by Administrator on 2017/6/9.
 */
import {fetch} from 'api/fetch';

// 获取就诊人列表
export const callGetPatientList = () => {
  return fetch({
    url: '/api/user/patient/list',
    method: 'post',
    params: {
    }
  })
}
// 就诊人.获取最近添加的就诊人
export const callGetRecentlyPatient = () => {
  return fetch({
    url: '/api/user/patient/recently',
    method: 'post',
    data: {
    }
  })
}
// 就诊人.新增就诊人
export const callAddPatientInfo = (client = {}) => {
  return fetch({
    url: '/api/user/patient/add',
    method: 'post',
    data: {
      ...client
    }
  })
}
// 就诊人.新增就诊人
export const callDelPatient = (patientId) => {
  return fetch({
    url: '/api/user/patient/del',
    method: 'post',
    data: {
      patientId
    }
  })
}



